package com.yj.suncity.bean;

import org.json.JSONObject;

public class AdvGoodsBean {
	private String id;// ": "3f76a77b-8a01-4c9b-ae80-f340a0e6ac88",
	private String goods_title;// ": "哈哈",
	private String goods_price;//价格120
	private String real_price;//真实价格100
	private String buy_type;//商品价格类型(1特价 2促销 3精品)
	private String is_shoppurchase;//是否支持店内购买(1是 2否)
	private String is_delivery;//是否支持本地配送(1是 2否)
	private String delivery_type; //配送方式(1免费 2自费)
	private String goods_summary; //商品简介
	private String img_url;// ": "/upload/201504/16/201504162209356860.jpg"

	public AdvGoodsBean(JSONObject json) {
		this.id = json.optString("id");
		this.goods_title = json.optString("goods_title");
		this.img_url = json.optString("img_url");
		this.goods_price = json.optString("goods_price");
		this.real_price = json.optString("real_price");
		this.buy_type = json.optString("buy_type");
		this.is_shoppurchase = json.optString("is_shoppurchase");
		this.is_delivery = json.optString("is_delivery");
		this.delivery_type = json.optString("delivery_type");
		this.goods_summary = json.optString("goods_summary");
	}

	public String getId() {
		return id;
	}

	public String getGoods_title() {
		return goods_title;
	}

	public String getImg_url() {
		return img_url;
	}

	public String getGoods_price() {
		return goods_price;
	}

	public void setGoods_price(String goods_price) {
		this.goods_price = goods_price;
	}

	public String getReal_price() {
		return real_price;
	}

	public void setReal_price(String real_price) {
		this.real_price = real_price;
	}

	public String getBuy_type() {
		return buy_type;
	}

	public void setBuy_type(String buy_type) {
		this.buy_type = buy_type;
	}

	public String getIs_shoppurchase() {
		return is_shoppurchase;
	}

	public void setIs_shoppurchase(String is_shoppurchase) {
		this.is_shoppurchase = is_shoppurchase;
	}

	public String getIs_delivery() {
		return is_delivery;
	}

	public void setIs_delivery(String is_delivery) {
		this.is_delivery = is_delivery;
	}

	public String getDelivery_type() {
		return delivery_type;
	}

	public void setDelivery_type(String delivery_type) {
		this.delivery_type = delivery_type;
	}

	public String getGoods_summary() {
		return goods_summary;
	}

	public void setGoods_summary(String goods_summary) {
		this.goods_summary = goods_summary;
	}

	public void setId(String id) {
		this.id = id;
	}

	public void setGoods_title(String goods_title) {
		this.goods_title = goods_title;
	}

	public void setImg_url(String img_url) {
		this.img_url = img_url;
	}
	

}
